<template>
    <div>
      <h1>View Five</h1>
      <h1>这个页面主要是拿到query参数</h1>
      <h1>拿到的参数是：{{ route.query.a }}</h1>
    </div>
  </template>
  
  <script lang="ts" setup>
//   解构用的
//   import {toRefs} from 'vue'
//   let {query} = toRefs(route)
  import {useRoute} from 'vue-router'
  let route = useRoute()
  </script>
  
  <style scoped>
  </style>